#include "postprocess/common/common_func.h"

#include <algorithm>

PostProcessCommon::PostProcessCommon() {}

PostProcessCommon::~PostProcessCommon() {}

bool PostProcessCommon::IsContained(const std::vector<uint32_t>& vec,
                                    uint32_t key) {
  if (std::find(vec.begin(), vec.end(), key) != vec.end()) {
    return true;
  } else {
    return false;
  }
}
